package com.chenxiao.Mediator;

/**
 * @Author: CX
 * @Date: Created in  2024/04/07 14:44
 * @version: v1.0
 * @Description: TODO
 **/
public class UserImpl extends User {
    public UserImpl(ChatMediator mediator, String name) {
        super(mediator, name);
    }

    @Override
    public void send(String message) {
        mediator.send(message, this);

    }
}
